package ace.tool.generate.code.impl.generator.sdk.resources;

import ace.tool.generate.code.impl.generator.AbstractBaseGenerator;
import ace.tool.generate.code.impl.resolver.scheme.model.EntityClassSchemeModel;
import lombok.Builder;
import lombok.NoArgsConstructor;

/**
 * @author caspar
 * @date 2023/11/17 9:57 api class 默认架构内容
 */
@Builder
@NoArgsConstructor
public class SpringFactoriesGenerator extends AbstractBaseGenerator<EntityClassSchemeModel> {

  @Override
  protected String getTemplateFile() {
    return "/java/sdk/SpringFactories.ftl";
  }

  @Override
  protected String getFileFullName(EntityClassSchemeModel model) {
    return model.getSdkProjectResourcesSpringFactoriesFileFullName();
  }
}
